Resource URL: /platform/<<version=1>>/protocols/hdfs/racks/<ID>

    Overview: This resource applies the collection of HDFS racks.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: Retrieve the HDFS rack.

       URL: GET /platform/<<version=1>>/protocols/hdfs/racks/<ID>

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "racks": {
      "items": {
        "type": "object", 
        "description": "This is schema that contains HDFS rack properties.", 
        "properties": {
          "ip_pools": {
            "items": {
              "type": "string"
            }, 
            "type": "array", 
            "description": "Array of IP pool names to use for serving clients from client_ip_ranges."
          }, 
          "client_ip_ranges": {
            "items": {
              "type": "string"
            }, 
            "type": "array", 
            "description": "Array of IP ranges. Clients from one of these IP ranges are served by corresponding nodes from ip_pools array."
          }, 
          "id": {
            "type": "string", 
            "description": "The ID of the rack."
          }, 
          "name": {
            "type": "string", 
            "description": "Name of the rack"
          }
        }
      }, 
      "type": "array"
    }
  }
}

********************************************************************************

Method PUT: Modify the HDFS rack

       URL: PUT /platform/<<version=1>>/protocols/hdfs/racks/<ID>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "This is schema that contains HDFS rack properties.", 
  "properties": {
    "ip_pools": {
      "items": {
        "type": "string"
      }, 
      "type": "array", 
      "description": "Array of IP pool names to use for serving clients from client_ip_ranges."
    }, 
    "client_ip_ranges": {
      "items": {
        "type": "string"
      }, 
      "type": "array", 
      "description": "Array of IP ranges. Clients from one of these IP ranges are served by corresponding nodes from ip_pools array."
    }, 
    "name": {
      "type": "string", 
      "description": "Name of the rack"
    }
  }
}

There is no response body for this method.

********************************************************************************

Method DELETE: Delete the HDFS rack.

          URL: DELETE /platform/<<version=1>>/protocols/hdfs/racks/<ID>

There are no query arguments for this method.

There is no response body for this method.
